﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterpages/desktop/desktop.Master" AutoEventWireup="true" CodeBehind="Polling.aspx.cs" Inherits="permit.PollingTable.Polling" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 203px;
        }
        .style2
        {
            width: 110px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" runat="server">

<br />
<br />
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px">
      <tr>
        <td><img src="Images/Index_pol.jpg" width="750" height="48" /></td>
      </tr>
      <tr>
        <td valign="top" background="Images/Index_3.jpg" align="center">       
          <div style="width:730px;background-color:#FFFFFF;padding:10px 0px 20px 0px; font-size: 14px">         
             <div style="font-size: 14px">
                 <TABLE 
style="BORDER-LEFT-COLOR: #ccc; BORDER-BOTTOM-COLOR: #ccc; BORDER-TOP-COLOR: #ccc; BORDER-COLLAPSE: collapse; BORDER-RIGHT-COLOR: #ccc" 
cellSpacing=0 cellPadding=3 width=700 border=1>
  <TBODY>
  <TR>
    <TD style="FONT-WEIGHT: bold; TEXT-ALIGN: center" bgColor=#f7f7f7 
    height=20 class="style2">所 属 地 区：</TD>
    <TD align="left" class="style1">
                    <asp:DropDownList ID="ddlDepArea" runat="server" Height="19px" Width="195px">
                    </asp:DropDownList>
                </TD>
    <TD style="FONT-WEIGHT: bold; TEXT-ALIGN: center" width=120 bgColor=#f7f7f7 
    height=20>年份-月份</TD>
    <TD align="left">
        <asp:TextBox ID="txtDate" runat="server" MaxLength="7"></asp:TextBox>
        <asp:Label ID="lblInfo" runat="server" ForeColor="Red">如：2009-07</asp:Label>
      </TD></TR>
  <TR>
    <TD style="FONT-WEIGHT: bold; TEXT-ALIGN: center" width=120 bgColor=White 
    height=20 colspan="4">
        <asp:GridView ID="gvPermit" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
            Font-Size="12px" ForeColor="#333333" GridLines="None" Width="726px" 
            onpageindexchanging="gvPermit_PageIndexChanging" 
            onrowdatabound="gvPermit_RowDataBound">
            <RowStyle BackColor="#EFF3FB" />
            <Columns>
                <asp:BoundField HeaderText="序号" />
                <asp:BoundField DataField="per_PermitCode" HeaderText="许可证号" />
                <asp:BoundField DataField="per_Department" HeaderText="单位名称" />
                <asp:BoundField DataField="per_Address" HeaderText="地址" />
                <asp:BoundField DataField="per_Representative" HeaderText="负责人" />
                <asp:BoundField DataField="per_Tel" HeaderText="联系电话" />
                <asp:BoundField DataField="per_Area" HeaderText="经营面积" />
                <asp:BoundField DataField="per_Type" HeaderText="类别" />
                <asp:BoundField DataField="per_Number" HeaderText="从业人数" />
                <asp:BoundField DataField="per_PermitDate" DataFormatString="{0:yyyy-M-dd}" 
                    HeaderText="发证日期" />
            </Columns>
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
      </TD>
      </TR>
  <TR>
    <TD align=middle colSpan=4 height=25>
        &nbsp;</TD></TR>
  <TR>
    <TD align=middle colSpan=4 height=25>
        <asp:Button ID="btnQuery" 
                        runat="server" Text="查  询" onclick="btnQuery_Click" 
                        Width="90px" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnPrint" runat="server" onclick="btnPrint_Click" Text="打  印" 
            Width="90px" />
                    </TD></TR>
 </TBODY></TABLE>
            </div>
         </div>
          </td>
          </tr>
          <tr>
            <td height="48px" valign="top" background="Images/Index_3.jpg" align="center"></td>
          </tr>
</table>
</asp:Content>
